package shopping;

import java.util.ArrayList;
/**
 * 
 * �û���
 *
 */

public class User {

	private String name;
	private String account;
	private String password;
	CartItemArray cart;
	ShoppingCartDaoArrayImpl shoppingcart;
	ShoppingCartDaoListImpl shoppingcart2;
    //ShoppingCartJFrame1 shoppingcart3;
	 ArrayList<CartItemArray> cartitem = new ArrayList();
	public CartItemArray getCart() {
		return cart;
	}
	public void setCart(CartItemArray cart) {
		this.cart = cart;
	}
	public ShoppingCartDaoArrayImpl getShoppingcart() {
		return shoppingcart;
	}
	public void setShoppingcart(ShoppingCartDaoArrayImpl shoppingcart) {
		this.shoppingcart = shoppingcart;
	}
	/*public ArrayList<CartItem> getCartitem() {
		return cartitem;
	}
	public void setCartitem(ArrayList<CartItem> cartitem) {
		this.cartitem = cartitem;
	}*/
	//ArrayList<GoodsList> goodsList = new ArrayList();
	//ArrayList<CartItem> cartitem = new ArrayList();
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

}
